<?php

class Application_Service_AbstractService {

    protected $_Model;

    //Proxys
    public function insert(array $data) {
        return $this->_Model->insert($data);
    }

    public function find($id) {
        return $this->_Model->find($id);
    }

    public function update(array $data, $where) {
        return $this->_Model->update($data, $where);
    }

    public function delete($id) {
        return $this->_Model->delete($id);
    }

    public function search(array $params) {
        return $this->_Model->search($params);
    }
    
}

